package com.gs.thunder.entity;

import org.apache.ibatis.type.Alias;

/**
 * Created with IntelliJ IDEA.
 * User: Legolas
 * Date: 2018/1/2 0002
 */
@Alias("RUIPlaceBuilding")
public class RUIPlaceBuilding {
    private Integer id;//id
    private Integer placeId;//场所id
    private String name;//建筑物名称
    private boolean equip;//有无防雷设施
    private String equipTime;//设施安装日期
    private String equipCycle;//防雷安全检测周期
    private String type;//防雷类别

    @Override
    public String toString() {
        return "RUIPlaceBuilding{" +
                "id=" + id +
                ", placeId=" + placeId +
                ", name='" + name + '\'' +
                ", equip=" + equip +
                ", equipTime='" + equipTime + '\'' +
                ", equipCycle='" + equipCycle + '\'' +
                ", type='" + type + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPlaceId() {
        return placeId;
    }

    public void setPlaceId(Integer placeId) {
        this.placeId = placeId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isEquip() {
        return equip;
    }

    public void setEquip(boolean equip) {
        this.equip = equip;
    }

    public String getEquipTime() {
        return equipTime;
    }

    public void setEquipTime(String equipTime) {
        this.equipTime = equipTime;
    }

    public String getEquipCycle() {
        return equipCycle;
    }

    public void setEquipCycle(String equipCycle) {
        this.equipCycle = equipCycle;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
